@layout("/common/_container.html"){
<div class="row">
 <div class="col-sm-12">
  <div class="ibox float-e-margins">
   <div class="ibox-title">
    <h5>内容管理</h5>
   </div>
   <div class="ibox-content">
    <div class="row row-lg">
     <div class="col-sm-12">
      <div class="row">
       <div class="col-sm-3">
        <#NameCon id="condition" name="名称" />
       </div>

       <div class="col-sm-3">

        <div class="input-group">
         <div class="input-group-btn">
          <button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button">
           日志类型
          </button>
         </div>
         <select class="form-control" >
          @for(item in articleCategories){
          <option value="${item.id}">${item.title}</option>
          @}
         </select>
        </div>


       </div>
       <div class="col-sm-3">
        <#button name="搜索" icon="fa-search" clickFun="Article.search()"/>
       </div>
      </div>
      <div class="hidden-xs" id="ArticleTableToolbar" role="group">
       @if(shiro.hasPermission("/article/article_add")){
       <#button name="添加" icon="fa-plus" clickFun="Article.openAddArticle()"/>
       @}
       @if(shiro.hasPermission("/article/article_update")){
       <#button name="修改" icon="fa-plus" clickFun="Article.openArticleDetail()" space="true"/>
       @}
       @if(shiro.hasPermission("/article/article_delete")){
       <#button name="删除" icon="fa-plus" clickFun="Article.delete()" space="true"/>
       @}
      </div>
      <#table id="ArticleTable"/>
     </div>
    </div>
   </div>
  </div>
 </div>
</div>
<script src="${ctxPath}/static/modular/system/article/article.js"></script>
@}
